package com.cat.singleton.demo01;

/**
 * @author cat
 * @version 2025/5/15 16:29
 * @since JDK17
 */

public class Test01 {
    public static void main(String[] args) {
        Singleton01 singleton01 = Singleton01.getInstance();
        Singleton01 singleton02 = Singleton01.getInstance();
        System.out.println(singleton01 == singleton02);
    }
}
